package com.zr.repertory.warelocation.model;

import com.zr.config.ErrorMassage;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by Administrator on 2019/11/21.
 */
@Data
public class WareLocationAddVo {
    @NotNull(message = ErrorMassage.NOWAREHOUSEID)
    private Integer warehouseId;
    @NotBlank(message = ErrorMassage.NOWAREHOUSECODE)
    private String warehouseCode;  //库房编码

    @NotNull(message = ErrorMassage.NOWAREAREAID)
    private Integer wareAreaId; //库区ID
    private String wareAreaCode;    //库区编码
    @NotBlank(message = ErrorMassage.NOWARELOCATIONCODE)
    private Integer wareLocationCode;   //库位编码
    private String wareLocationName;    //库位名称
}
